<script setup lang="ts">

const props = defineProps({
    money: {
        type: Number,
        default: 5000
    },
    car: {
        type: String,
        default: "五菱宏光"
    },
})

</script>

<template>
    <h2>子组件 - {{ money }} - {{ car }}</h2>
</template>

<style scoped>
</style>